<route lang="json5" type="page">
{
    layout: 'default',
    style: {
        navigationBarTitleText: ''
    }
}
</route>

<template>
    <view class="col-center">
        <view
            class="col-center"
            @click="tapPkg"
        >
            点我跳转到分包
        </view>
    </view>
</template>

<script lang="ts" setup>
//
/// -------------- 私有属性 ---------------- ///
/// -------------- 工具类型 ---------------- ///
/// -------------- 网络请求 ---------------- ///
/// -------------- 触发事件 ---------------- ///

function tapPkg() {
    uni.navigateTo({
        url: '/pkg-demo/pages/index/index'
    })
}
</script>

<style lang="scss" scoped>
//

.body {
    width: 100rpx;
    height: 100rpx;
}
</style>
